<template>
  <div style="vertical-align: bottom">
    <img v-if="type === 'img'" :src="url" style="width: 50px; height: 50px;vertical-align: bottom">
    <video v-if="type === 'video'" :src="url" style="width: 50px; height: 50px;vertical-align: bottom" />
  </div>
</template>
<script>
export default {
  name: 'CellMedia',
  props: {
    url: {
      type: String,
      default: ''
    },
    type: {
      type: String,
      default: 'img'
    }
  }
}
</script>
